Expander: Replace (allow-none) with (nullable)
authorDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:12 +0000 (21:19 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:21:08 +0000 (21:21 +0100)
The former is deprecated in favour of the latter.

gtk/gtkexpander.c

index bf29555f919f7ad0e6f0145d7c3be53a07e2a8e2..8fc88d40c15633e9442ba813d53ad7477f50368a 100644 (file)
@@ -973,7 +973,7 @@ gtk_expander_new (const gchar *label)
 
 /**
  * gtk_expander_new_with_mnemonic:
- * @label: (allow-none): the text of the label with an underscore
+ * @label: (nullable): the text of the label with an underscore
  *     in front of the mnemonic character
  *
  * Creates a new expander using @label as the text of the label.
@@ -1071,7 +1071,7 @@ gtk_expander_get_expanded (GtkExpander *expander)
 /**
  * gtk_expander_set_label:
  * @expander: a #GtkExpander
- * @label: (allow-none): a string
+ * @label: (nullable): a string
  *
  * Sets the text of the label of the expander to @label.
  *
@@ -1250,7 +1250,7 @@ gtk_expander_get_use_markup (GtkExpander *expander)
 /**
  * gtk_expander_set_label_widget:
  * @expander: a #GtkExpander
- * @label_widget: (allow-none): the new label widget
+ * @label_widget: (nullable): the new label widget
  *
  * Set the label widget for the expander. This is the widget
  * that will appear embedded alongside the expander arrow.